package com.stm.bi.jobhandler;

import com.stm.bi.etl.AdsBaseProductInventoryEtlTask;
import com.stm.framework.dto.Response;
import com.stm.job.annotation.JobName;
import com.stm.job.handler.JobHandler;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * @author liuyx
 * @date 2025/7/16  14:40
 */
//@JobName("ADS商品库存数据ETL任务")
//@Component
public class AdsBaseProductInventoryEtlJobhandler implements JobHandler {
    @Resource
    private AdsBaseProductInventoryEtlTask adsBaseProductInventoryEtlTask;

    @Override
    public Response execute(String s) {
        adsBaseProductInventoryEtlTask.execute();
        return Response.success();
    }
}
